package com.huika.dealontop.support.domain;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by cailu on 2015/12/7.
 */
public class UserRegisterResult  implements Parcelable{
    private String userID;
    private String isRecommend;

    protected UserRegisterResult(Parcel in) {
        userID = in.readString();
        isRecommend = in.readString();
    }

    public static final Creator<UserRegisterResult> CREATOR = new Creator<UserRegisterResult>() {
        @Override
        public UserRegisterResult createFromParcel(Parcel in) {
            return new UserRegisterResult(in);
        }

        @Override
        public UserRegisterResult[] newArray(int size) {
            return new UserRegisterResult[size];
        }
    };

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(String isRecommend) {
        this.isRecommend = isRecommend;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(userID);
        dest.writeString(isRecommend);
    }
}
